#include <QtGui>
#include <QtCore>
#include "mainwindow.h"

static void generateState( QStateMachine& states, QList<Pixmap*>& items, Button *giftBtn );
static void throwFlower( QStateMachine &states, QList<Pixmap*> &items, Button *giftBtn );
static void throwTest(QList<Pixmap*> &items, Button *giftBtn);

static AnimationView *animationView ;

void setAnimationView( AnimationView *view ) { animationView = view ; }

AnimationView* getAnimationView() { return animationView ; }

int main(int argc, char **argv)
{
	QApplication app(argc, argv);

	AnimationView view;
	setAnimationView(&view);
	view.showFullScreen();

	return app.exec();
}